// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Antd from 'ant-design-vue' //一次性引入所有组件
// import Button from 'ant-design-vue/lib/button'
// import Icon from 'ant-design-vue/lib/icon'
// import Layout from 'ant-design-vue/lib/layout'
// import Menu from 'ant-design-vue/lib/menu'
// import Breadcrumb from 'ant-design-vue/lib/breadcrumb'

 
import axios from 'axios'
 

import 'ant-design-vue/dist/antd.css'
//一般公共的，需要重复利用的组件 放在 main.js 中声明

Vue.use(Antd) 

// Vue.use(Button)//使用组件
// Vue.use(Icon)
// Vue.use(Layout)
// Vue.use(Menu)
// Vue.use(Breadcrumb)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  //把路由对象绑定到Vue对象上
  router,
  components: { App },
  template: '<App/>'
})
